package com.liyi.letter.common.constant;

/**
 * @program: letter_parent
 * @description
 * @author: tianwen
 * @create: 2023-06-01 18:10
 **/
public class RedisConst {
    /**、
     * 单位都是秒
     */
    //尝试获取锁最大等待时间
    public static final long LOCK_EXPIRE_PX1 =1;
    //持有锁时间
    public static final long LOCK_EXPIRE_PX2 = 1;
    //空对象缓存过期时间
    public static final long KEY_TEMPORARY_TIMEOUT = 10 * 60;
    //普通对象缓存过期时间
    public static final long KEY_TIMEOUT = 24 * 60 * 60;
    //
}
